\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,bbding,pifont,colortbl}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% 只需要这个就可以
\usepackage[thicklines]{cancel}
% 可以设置线条颜色，默认是黑色
\usepackage{xcolor}
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc}

% 额外添加
\usepackage{indentfirst}
\usepackage{diagbox} 
\usepackage{ulem}
\usepackage{cancel}
\usepackage{makecell}

\begin{document} 
	\begin{tikzpicture}[>=latex,every node/.style={anchor=south west,,inner sep=0,fill=white}]
		\node(table)[anchor=north,fill=white] at (0,0){  
			\begin{tabular}{|p{7em}|p{2em}<{\centering}|p{2em}<{\centering}|p{5em}<{\centering}|p{5em}|p{6em}|}
				\hline 
				\makecell[c]{SYN[n]} & 关系 & W & 操作 & \makecell[c]{SEM[m]} & \makecell[c]{QT[q]} \\ \hline
				\# & < & \textcolor{red}{\bcancel{\textcolor{black}{$a$}}} & 移进，读 & & \\\hline
				\# \textcolor{red}{<} \textcolor{red}{\bcancel{\textcolor{black}{$a$}}} & > & + & 规约，不读 & a & \\\hline
				\# & < & \textcolor{red}{\bcancel{\textcolor{black}{$+$}}} & 移进，读 && \\\hline
				\# \textcolor{red}{<} + & < & \textcolor{red}{\bcancel{\textcolor{black}{$b$}}} & 移进，读 && \\\hline
				\# \textcolor{red}{<} + \textcolor{red}{<} \textcolor{red}{\bcancel{\textcolor{black}{$b$}}} & > & $*$ & 规约，不读 & a\ b & \\\hline
				\# \textcolor{red}{<} + & < & \textcolor{red}{\bcancel{\textcolor{black}{$*$}}} & 移进，读 && \\\hline
				\# \textcolor{red}{<} + \textcolor{red}{<} * & < & \textcolor{red}{\bcancel{\textcolor{black}{$c$}}} & 移进，读 && \\\hline
				\# \textcolor{red}{<} + \textcolor{red}{<} * \textcolor{red}{<} \textcolor{red}{\bcancel{\textcolor{black}{$c$}}} & >  & \# & 规约，不读 & a\ b\ c & \\\hline
				\# \textcolor{red}{<} + \textcolor{red}{<} \textcolor{red}{\bcancel{\textcolor{black}{$*$}}} & >  & \# & 规约，不读 & a\ t1 & \textcolor{blue}{(*,b,c,t1)}\\\hline
				\# \textcolor{red}{<} \textcolor{red}{\bcancel{\textcolor{black}{$+$}}} & >  & \# & 规约，不读 &  t2 & \textcolor{blue}{(+,a,t1,t2)}\\\hline
				\# & & \# & OK & & \\\hline
			\end{tabular}
		};       
		
	\end{tikzpicture}
\end{document}
